﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Quartz.Net.Model;
using Quartz.Net.DAL;

namespace Quartz.Net.BLL
{
   public class Task_Quartz_RunBLL
    {
       Task_Quartz_RunDAL dal = new Task_Quartz_RunDAL();
        public int InsertRun(Task_Quartz_RunModel model)
       {
           return dal.InsertRun(model);
       }

        public int UpdateRun(Task_Quartz_RunModel model)
        {
            return dal.UpdateRun(model);
        }

        public int DeleteRun(string Jobnguid)
        {
            return dal.DeleteRun(Jobnguid);
        }

        public int DeleteRun()
        {
            return dal.DeleteRun();
        }

       public IEnumerable<Task_Quartz_RunModel> GetOntInfo(string jobguid)
        {
            return dal.GetOntInfo(jobguid);
        }
       public IEnumerable<Task_Quartz_RunModel> GetInfo()
        {
            return dal.GetInfo();
        }
       
    }
}
